package com.systar.activity.report.users;


public enum Role
{
	admin,
	user,
	guest;
	
	public static Role fromString(String roleName)
	{
		if (roleName == null)
			return null;
		for (Role role : Role.values())
		{
			if (role.name().compareToIgnoreCase(roleName) == 0)
				return role;
		}
		return null;
	}
}
